﻿using System.Windows;
using System.Windows.Controls;

namespace CheckLift.Views
{
    /// <summary>
    /// Interaction logic for ReportDetailViewControl.xaml
    /// </summary>
    public partial class ReportDetailViewControl : UserControl
    {
        public ReportDetailViewControl()
        {
            InitializeComponent();
        }

        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            MessageBox.Show(((ContentControl)(((FrameworkElement)((sender as Button).TemplatedParent)).TemplatedParent)).Name);
        }

        private void btnSearch_Click(object sender, RoutedEventArgs e)
        {

        }
    }
}
